﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ZFMaster.Master" AutoEventWireup="true" CodeBehind="getpwd.aspx.cs" Inherits="ZF.WS.Person.getpwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
    <dl>
        <dd>---------------------------取回密码---------------------------
        <br /><br />
            <table style="text-align:left">
                <tr>
                    <td class="l">
                        <span class=" xh_">*</span>会员帐号：
                    </td>
                    <td class="l">
                        <zf:TextBox runat="server" ID="tbAccount" class="txt"></zf:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="l">
                       &nbsp;&nbsp;&nbsp;&nbsp;<span class=" xh_">*</span>邮箱：
                    </td>
                    <td class="l">
                        <zf:TextBox runat="server" ID="tbEmail" class="txt"></zf:TextBox>
                        <span class="zx_">注册所用的邮箱</span>
                    </td>
                </tr>
                <script language='javascript' type="text/javascript">
                    function refreshValidateCodeImage(ValidateCodeImageControl) {

                        var url = ValidateCodeImageControl.src;
                        if (url.indexOf("?code=") > -1) {
                            url = url.split("?")[0];
                        }
                        ValidateCodeImageControl.src = url + '?code=' + randomNum(10);
                    }
                    function randomNum(n) {
                        var rnd = '';
                        for (var i = 0; i < n; i++)
                            rnd += Math.floor(Math.random() * 10);
                        return rnd;

                    }
                    $(function() {
                        $(".vcodeimg")[0].click();

                    });
                </script>
                <tr>
                    <td class="ll">
                        &nbsp;&nbsp;<span class=" xh_">*</span>验证码：
                    </td>
                    <td class="lr" colspan="3">
                        <div class="c">
                            <zf:TextBox runat="server" ID="tbVCode" class="sstxt"></zf:TextBox><img src="/ValidatePage.aspx"
                                style="cursor: pointer" class='vcodeimg' onclick="refreshValidateCodeImage(this);" />
                            <span class="zx_" id="tbVCodeTip"></span>
                        </div>
                    </td>
                </tr>
            </table>
            <br /><br />
            <zf:Button  runat="server" OnClick="Ok" Text=" 提 交 " class="linkbtn" />
        </dd>
        </dl>
    </div>
</asp:Content>
